package c.h.a.z;

import android.content.SharedPreferences;
import android.opengl.GLSurfaceView;
import android.widget.TextView;
import c.h.a.m0.i;
import com.liuzh.deviceinfo.card.GpuCard;

/* compiled from: lambda */
public final /* synthetic */ class n implements Runnable {
    public final /* synthetic */ GpuCard a;
    public final /* synthetic */ String b;
    public final /* synthetic */ String c;
    public final /* synthetic */ String d;

    public /* synthetic */ n(GpuCard gpuCard, String str, String str2, String str3) {
        this.a = gpuCard;
        this.b = str;
        this.c = str2;
        this.d = str3;
    }

    public final void run() {
        GpuCard gpuCard = this.a;
        String str = this.b;
        String str2 = this.c;
        String str3 = this.d;
        GLSurfaceView gLSurfaceView = gpuCard.j;
        if (gLSurfaceView != null) {
            gLSurfaceView.setVisibility(8);
            ((TextView) gpuCard.findViewById(2131296588)).setText(str);
            i iVar = i.a;
            iVar = i.a;
            SharedPreferences sharedPreferences = i.b;
            sharedPreferences.edit().putString("gpu_render", str).apply();
            ((TextView) gpuCard.findViewById(2131296589)).setText(str2);
            sharedPreferences.edit().putString("gpu_vendor", str2).apply();
            ((TextView) gpuCard.findViewById(2131296590)).setText(str3);
            sharedPreferences.edit().putString("gpu_version", str3).apply();
            gpuCard.removeView(gpuCard.j);
            gpuCard.j = null;
        }
    }
}
